import { MemberMap as M } from "@/map/member";
import { GlobalGenderMap as G, GlobalStatusMap as S } from "@/map/global";
import { Role } from "./role";

export interface Gender {
  [G.Id]: string;
  [G.Text]: string;
}

export interface MemberStatus {
  [S.Id]: string;
  [S.Name]: string;
}

export interface Member {
  [M.Id]: string;
  [M.Name]: string;
  [M.No]: string;
  [M.Gender]: Gender;
  [M.Avatar]: string;
  [M.Tel]: string;
  [M.Class]: string;
  [M.Role]: Role;
  [M.RegisterTime]: string;
  [M.Point]: number;
  [M.Status]: MemberStatus;
}
